package com.cug.nageoffer.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cug.nageoffer.model.entity.User;
import com.cug.nageoffer.model.vo.LoginVo;
import com.cug.nageoffer.model.vo.Result;
import org.springframework.web.multipart.MultipartFile;

public interface UserService extends IService<User> {
    Result<String> register(User userDO);

    LoginVo login(User userDO);

    User queryInfo(String username);

    Boolean logout(User userDO);

    Result<String> modifyInfo(User userDO);

    Result<String> uploadProfile(MultipartFile multipartFile) throws Exception;

    Result<String> modifyStatus(Integer status);

    String getUsername(Long id);
}
